import pytest,os
from mail import send_mail
from mail import log_sent
if __name__ == '__main__':
    log_sent()
    pytest.main(["-s","pytest.py","--alluredir=./baogao","--clean-alluredir"])
    os.system("allure generate baogao -o ./报告 --clean")

    send_mail(["log.log","./报告/index.html"])


